package com.zyht.bank.wechat.utils;

import java.text.SimpleDateFormat;

/**
 * 交易流水号生产工具
 * 
 * @author qjl
 * @data 2017年7月6日
 */
public class TranSequenUtil {

	private TranSequenUtil() {
	}

	public static final String createSeq() {
		SimpleDateFormat sf = new SimpleDateFormat("yyyyMMddHHmmss");
		StringBuilder sb = new StringBuilder();
		long current = System.currentTimeMillis();
		sb.append(sf.format(current));
		sb.append(current);
		return sb.toString();
	}

}
